package com.acme;

public class Arrays {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		int array[]=new int[5];
		int k=array.length;
		
		/*array is object type witch has a property 'length'*/
		System.out.println("array[3] = "+array[2]);
		
		for(int i=0;i<k;i++) array[i]=i+1;
		System.out.println("array[3] = "+array[2]);
		
		System.out.println(k);
		/*k=array[5];
		 * exit out array limits 
		 */
	}

}
